package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;

public interface CategoryService {
    List<DtsCategory> list();

    List<CatVo> list1();
    IPage<DtsCategory> queryByPage(Integer id, String name,
                                   Integer page, Integer limit,
                                   String sort, String order);

    DtsCategory addOne(DtsCategory category);

    int updateOne(DtsCategory category);

    void deleteOne(DtsCategory category);

    List<DtsCategory> showCat();
}
